5.3.3 APPX Application Design Manual

+ Chapter 1-1: Overview of Application Design
+ Chapter 1-2: Getting Started
+ Chapter 1-3: Data Dictionary
+ Chapter 1-4: Understanding Process Design
+ Chapter 1-5: Interprocess Communication
+ Chapter 1-6: Customizing Your Application
+ Chapter 1-7: The Documentation Facility
+ Chapter 1-8: Application Design Tools
+ Chapter 2-1: Data Dictionary Overview
+ Chapter 2-2: Data Dictionary Concepts
+ Chapter 2-3: Domains
+ Chapter 2-4: Files and Fields
+ Chapter 2-5: Work Fields
+ Chapter 3-1: Overview of APPX Processes
+ Chapter 3-2: Getting Started
+ Chapter 3-3: Process Definition
+ Chapter 3-4: Menu Processes
+ Chapter 3-5: Job Processes
+ Chapter 3-6: Input Processes
+ Chapter 3-7: Output Processes
+ Chapter 3-8: Update Processes
+ Chapter 3-9: Query Processes
+ Chapter 3-10: Inquiry Processes
+ Chapter 3-11: Status Processes
+ Chapter 3-12: Subroutine Processes
+ Chapter 3-13: Table Processes
+ Chapter 3-14: Automatic and Optional Children
+ Chapter 3-15: Using the Image Editor
+ Chapter 3-16: Using GUI Features of the Image Editor
+ Chapter 3-17: Using Event Points
+ Chapter 4-1: ILF Integration
+ Chapter 4-2: True/False Status Indicators
+ Chapter 4-3: Specifying Statements
+ Chapter 4-4: The ILF Editor
+ Chapter 4-5: The Appx ILF Debugger
+ Chapter 4-6: ILF Keyword Reference
+ Chapter 4-7: Predefined Fields
- Chapter 4-8: Runtime Subroutine's and Predefined Processes
+ Chapter 4-9: Appx Chart Director API

Chapter 4-8: Runtime Subroutine's and Predefined Processes

.UTIL TIMEOUT EXIT


This subroutine exits the current process or logs a user off after a set timeout period.

Usage:

Description:

This subroutine exits the current process or logs a user off after a set timeout period. The <action> parameter is required, and the subroutine will CANCEL if it is not PASSed. The <action_delay> parameter is optional.

This subroutine should only be called in the Option Intercept or Global Option Intercept event points. You must have set a keyboard timeout via .UTIL TIMEOUT SET first, otherwise this routine does nothing.

<action> is the action that should be performed if a TIMEOUT has occurred (Required). It must be one of End or Logout. If it is End and the timeout has occurred, the current process will END. If it is Logout and the timeout has occurred, then the user will be logged out.

You may want to use Logout on Menus, and End on input processes. Thus, an unattended session at an Input process will first return to the menu, then log the user off.

<action_delay> is an optional parameter that represents the number of minutes before the action is taken. If this parameter is PASSed, then a message will be displayed to the user advising them how much time is left before the program exits. If there is no further activity, then the <action> will be taken when <action_delay> minutes has expired.

Note: If you use <action_delay> then:

After the warning, the <action_delay> becomes the new timeout.
The warning only appears once. If the user does something to reset the timer after the warning has appeared, the next time the timer expires the specified <action> will be taken immediately.

Application Design Manual                                         "Powered by Appx Software"

1190

©2006 By APPX Software, Inc. All Rights Reserved